package com.lrkj.back.entity;

import java.io.Serializable;

public class SendIm implements Serializable{
    private Integer sendId;

    private String sendName;

    private String sendPerson;

    private String sendReserve1;

    private String sendReserve2;

    public Integer getSendId() {
        return sendId;
    }

    public void setSendId(Integer sendId) {
        this.sendId = sendId;
    }

    public String getSendName() {
        return sendName;
    }

    public void setSendName(String sendName) {
        this.sendName = sendName == null ? null : sendName.trim();
    }

    public String getSendPerson() {
        return sendPerson;
    }

    public void setSendPerson(String sendPerson) {
        this.sendPerson = sendPerson == null ? null : sendPerson.trim();
    }

    public String getSendReserve1() {
        return sendReserve1;
    }

    public void setSendReserve1(String sendReserve1) {
        this.sendReserve1 = sendReserve1 == null ? null : sendReserve1.trim();
    }

    public String getSendReserve2() {
        return sendReserve2;
    }

    public void setSendReserve2(String sendReserve2) {
        this.sendReserve2 = sendReserve2 == null ? null : sendReserve2.trim();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SendIm other = (SendIm) that;
        return (this.getSendId() == null ? other.getSendId() == null : this.getSendId().equals(other.getSendId()))
            && (this.getSendName() == null ? other.getSendName() == null : this.getSendName().equals(other.getSendName()))
            && (this.getSendPerson() == null ? other.getSendPerson() == null : this.getSendPerson().equals(other.getSendPerson()))
            && (this.getSendReserve1() == null ? other.getSendReserve1() == null : this.getSendReserve1().equals(other.getSendReserve1()))
            && (this.getSendReserve2() == null ? other.getSendReserve2() == null : this.getSendReserve2().equals(other.getSendReserve2()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getSendId() == null) ? 0 : getSendId().hashCode());
        result = prime * result + ((getSendName() == null) ? 0 : getSendName().hashCode());
        result = prime * result + ((getSendPerson() == null) ? 0 : getSendPerson().hashCode());
        result = prime * result + ((getSendReserve1() == null) ? 0 : getSendReserve1().hashCode());
        result = prime * result + ((getSendReserve2() == null) ? 0 : getSendReserve2().hashCode());
        return result;
    }
}